﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UsersManager : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
		SE6.User curUsr = SessionMan.GetLoginUser();
		if (curUsr == null)
			Response.Redirect("Login.aspx");
		Int32 cp;
		if (!Int32.TryParse(Request.QueryString["cp"], out cp))
			cp = 0;
		feedBack.Text = SessionMan.GetResult();
		SessionMan.SaveResult(null);
		usrs.InnerHtml = SE6.UserMan.ViewUsers(cp);
		navMenu.InnerHtml = GUI.NavMenu(PageClass.UserManager);
    }
}
